/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kursova_perzeptron;

/**
 *
 * @author ruslan
 */
// --------------------------------------------------------------
// DeltaBarDeltaLearningRate
// --------------------------------------------------------------

public class DeltaBarDeltaLearningRate
{
    /** the learning rate */
    private double learningRate_ = 0.04;

    /** the bar-delta value, see <code>DeltaBarDeltaNetwork</code> */ 
    private double barDelta_ = 0.0;

    // --------------------------------------------------------------
    // Public Constructors
    // --------------------------------------------------------------
 
    /**
     * Creates a new <code>DeltaBarDeltaNetwork</code> instance.
     */
    public DeltaBarDeltaLearningRate() {}

    // --------------------------------------------------------------
    // Public Methods
    // --------------------------------------------------------------
 
    /**
     * Gets the learning rate.
     *
     * @return The learning rate
     */
    public double getLearningRate()
    {
        return learningRate_;
    }

    /**
     * Sets the learning rate.
     *
     * @param learningRate The value to set the learning rate to
     */
    public void setLearningRate(double learningRate)  
    {
        learningRate_ = learningRate;
    }

    /**
     * Gets the bar-delta value.
     * 
     * @return The bar-delta value
     */
    public double getBarDelta()
    {
        return barDelta_;
    }

    /**
     * Sets the bar-delta value.
     *
     * @param barDelta The value to set the bar-delta to
     */
    public void setBarDelta(double barDelta)
    {
        barDelta_ = barDelta;
    }
}
